<div class="websiteSetting view">
	<div class="row">
		<div class="col-md-12">
			<div class="page-header">
				<h1><?php echo __('Website Setting'); ?></h1>
			</div>
		</div>
	</div>

	<div class="row">

    <?php echo $this->element('admin-menu'); ?>

		<div class="col-md-9">
        				<?php	if(isset($websiteSetting['WebsiteSetting']['setting_text'])) $this->set('title_for_layout', $websiteSetting['WebsiteSetting']['setting_text']); ?>

			<table cellpadding="0" cellspacing="0" class="table table-striped">
				<tbody>
				<tr>
		<th><?php echo __('Id'); ?></th>
		<td>
			<?php echo h($websiteSetting['WebsiteSetting']['id']); ?>
			&nbsp;
		</td>
</tr>
<tr>
		<th><?php echo __('Setting'); ?></th>
		<td>
			<?php echo h($websiteSetting['WebsiteSetting']['setting']); ?>
			&nbsp;
		</td>
</tr>
<tr>
		<th><?php echo __('Setting Text'); ?></th>
		<td>
			<?php echo h($websiteSetting['WebsiteSetting']['setting_text']); ?>
			&nbsp;
		</td>
</tr>
<tr>
		<th><?php echo __('Tip (Hint)'); ?></th>
		<td>
			<?php echo ($websiteSetting['WebsiteSetting']['tip']); ?>
			&nbsp;
		</td>
</tr>
<tr>
		<th><?php echo __('Value'); ?></th>
		<td>
			<?php 
			if($websiteSetting['WebsiteSetting']['setting']=='theme_logo')
			echo $this->Html->image('/images/'.$websiteSetting['WebsiteSetting']['value']);
			else
			echo $websiteSetting['WebsiteSetting']['value'];			
			 ?>
			&nbsp;
		</td>
</tr>
<tr>
		<th><?php echo __('Modified'); ?></th>
		<td>
			<?php echo h($websiteSetting['WebsiteSetting']['modified']); ?>
			&nbsp;
		</td>
</tr>
				</tbody>
			</table>

		</div><!-- end col md 9 -->

	</div>
</div>

